//
//  MSBaseCollectionViewController.h
//  Weshare
//
//  Created by KevinCao on 16/3/18.
//  Copyright © 2016年 wxwl. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol MSCollectionViewDelegate<NSObject>
@optional
- (void)pullCollectionView:(UICollectionView *)collectionView isNextPage:(BOOL)isNextPage;
- (void)pullRefreshRequest;
@end

@interface MSBaseCollectionViewController : UICollectionViewController
@property(nonatomic,retain)NSMutableArray *dataArray;
@property(nonatomic,weak)id<MSCollectionViewDelegate>delegate;
@property(nonatomic, assign)int pageNum;      //当前页码
@property(nonatomic, assign)int totalPagesNum;//总页码
@property(nonatomic,assign)BOOL enableRefresh;//是否有下拉刷新功能
@property(nonatomic,assign)BOOL enableRequest; //是否有上拉请求功能
@property (nonatomic,strong)ArrowView*  arrowUpView;
//- (void)loadDataSuccess:(NSArray *)responseArray;
//- (void)loadDataFail;
@end
